/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package pt.iasd.youthshelter.datamodel.service;

import java.util.List;
import pt.iasd.youthshelter.datacore.controller.exceptions.NonexistentEntityException;
import pt.iasd.youthshelter.datamodel.ProgressiveClass;

/**
 *
 * @author Rui
 */
public interface ProgressiveClassController {

    void create(ProgressiveClass progressiveClass);

    void destroy(Integer id) throws NonexistentEntityException;

    void edit(ProgressiveClass progressiveClass) throws NonexistentEntityException, Exception;

    ProgressiveClass findProgressiveClass(Integer id);

    List<ProgressiveClass> findProgressiveClassEntities();

    List<ProgressiveClass> findProgressiveClassEntities(int maxResults, int firstResult);

    int getProgressiveClassCount();
    
}
